package cn.xiaopengstack.domain.pay.model.entity;

import cn.xiaopengstack.types.enums.PayChannelEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CreatePayReqEntity {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 外部订单ID
     */
    private String orderId;

    /**
     * 产品ID
     */
    private String productId;
    /**
     * 产品名字
     */
    private String productName;
    /**
     * 总金额
     */
    private BigDecimal totalAmount;

    /**
     * 支付渠道
     */
    private PayChannelEnum payChannelEnum;
}
